#-------------------------------------------------------------------------------
#!	@file Makefile
#!	@brief
#!		config makefile
#!
#!	$Id: Makefile 141 2013-02-09 00:18:42Z ac.verbeck@gmail.com $
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
#	Copyright and Disclaimer Notice
#
#	Copyright (c) 2013 A.C. Verbeck
#
#	This file is part of config
#
#	config is free software: you can redistribute it and/or modify
#	it under the terms of the GNU General Public License as published by
#	the Free Software Foundation, either version 3 of the License, or
#	(at your option) any later version.
#
#	config is distributed in the hope that it will be useful,
#	but WITHOUT ANY WARRANTY; without even the implied warranty of
#	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#	GNU General Public License for more details.
#
#	You should have received a copy of the GNU General Public License
#	along with config.  If not, see <http://www.gnu.org/licenses/>.
#
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
#	Environment
#-------------------------------------------------------------------------------
CFLAGS		= -Wall -Werror -ggdb
LDLIBS		= -lpopt -lsndfile -lconfig

#-------------------------------------------------------------------------------
#	Targets
#-------------------------------------------------------------------------------
C_TARGETS	= example1 example2 example3

#-------------------------------------------------------------------------------
#	Rules
#-------------------------------------------------------------------------------
.PHONY:		all clean format

all:		$(C_TARGETS)

clean:;		$(RM) *.o
			$(RM) *.bak
			$(RM) *.exe
			$(RM) *.c.orig
			$(RM) *.h.orig

format:;	astyle --style="k&r" --indent=tab --lineend=windows --recursive "*.c"


#-------------------------------------------------------------------------------
#	Dependencies
#-------------------------------------------------------------------------------
example1:			example1.c

example2:			example2.c

example3:			example3.c


#
#	End: Makefile
#
